package com.lvyou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.lvyou.entity.Orders;
import com.lvyou.util.TurnPage;

@Mapper
public interface IOrdersMapper {

	public List<Orders> queryList(@Param("status")int status,@Param("userId") String userId,@Param("turnPage") TurnPage turnPage) ;
	
	public Orders queryById(String id);
	
	public int add(@Param("orders")Orders order);
	
	public int deleteByIds(String[] ids);
}
